<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>用户注册</title>
</head>
<body>
<h2>用户注册</h2>
<form method="post" action="/add">
    <label for="username">用户名：</label>
    <input id="username" type="text" name="username"><br>

    <label for="password">用户密码：</label>
    <input id="password" type="password" name="password"><br>
    <input type="submit" value="提交"><br>

    <h4 th:text="${msg}"></h4>
</form>
</body>
</html>